<?php /* Smarty version 2.6.26, created on 2010-11-26 13:04:15
         compiled from announcement.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php echo '
<script language="javascript" type="text/javascript" src="../js/tiny_mce/tiny_mce.js"></script>

<script language="javascript" type="text/javascript">

tinyMCE.init({
        mode : "textareas",
		theme : "advanced",

        convert_fonts_to_spans : true,
		theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,fontsizeselect ,fontselect,removeformat,cleanup,code",
		theme_advanced_buttons2 : "",
		theme_advanced_buttons3 : "",
		theme_advanced_toolbar_location : "bottom",
		theme_advanced_toolbar_align : "center",
});
</script> 
'; ?>


<?php echo $this->_tpl_vars['info_action']; ?>


<?php $_from = $this->_tpl_vars['announcements']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['a']):
?>
	<?php echo $this->_tpl_vars['a']['add_date']; ?>
 <br/>
	<?php echo $this->_tpl_vars['a']['title']; ?>
 <br/>
	<?php echo $this->_tpl_vars['a']['content']; ?>
 <br/>
<?php endforeach; endif; unset($_from); ?>
<form method="post" action="announcement.php">
	<input type="text" id="title" name="title"/>
	<textarea id="content" name="content" cols="85" rows="10"></textarea>
	<input type="submit" class="button b_blue" name="add" value="Dodaj ogłoszenie" />
<form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>